home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 920 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  838 b 

  1. From: ekl@sdf.lonestar.org (Evan K. Langlois)
  2. Subject: Cookie Cache
  3. Date: Wed, 19 Jan 94 21:09:08 CST
  4.  
  5.  
  6. ====================
  7. interface directly without an intervening library interface.  Adding a
  8. write-through directory cache in the kernel solves the original
  9. problem without introducing new ones.
  10. ====================
  11.  
  12. I think this is a great idea.  Watching the OS traces, I noticed that the
  13. Freadlink call is recursive.  This means that if called on 100 files
  14. it doesn't get called 100 times but 100 * the number of times the path is
  15. nested, so if the directory is 10 directories deep you get 1000 calls.
  16. If there was a cache for all this you would get 110 calls instead.  
  17. Example used in an extreme case, but just adding to Dreaddir or one of
  18. the other calls or making a combined call wouldn't be as effective as
  19. a caching the OS.
  20.  
  21.  
  22.